{% extends '@AdsPlace/layout.twig' %}

{% set categoryTitle %}{{ 'CoreAdminHome_Administration'|translate }}{% endset %}

{% set bodyClass = postEvent('Template.bodyClass', 'admin') %}
{% set isAdminArea = true %}

{% block body %}
    {% set topMenuModule = 'AdsPlace' %}
    {% set topMenuAction = 'index' %}
    {{ postEvent("Template.header", "admin") }}
    {{ parent() }}
    {{ postEvent("Template.footer", "admin") }}
{% endblock %}


{% block root %}
    {% include "@CoreHome/_topScreen.twig" %}
 

    {% import 'ajaxMacros.twig' as ajax %}
    {{ ajax.requestErrorDiv(emailSuperUser|default(''), areAdsForProfessionalServicesEnabled, currentModule) }}
    {{ postEvent("Template.beforeContent", "admin", currentModule, currentAction) }}
    <div style="display:block; height: 20px;"></div>
    <div class="page">

        {% if showMenu is not defined or showMenu %}
            {% import '@CoreHome/_menu.twig' as menu %}
            {{ menu.menu(adminMenu, false, 'Menu--admin', currentModule, currentAction, hasSomeAdminAccess) }}
        {% endif %}


        <div class="pageWrap"  id="VueApp" v-cloak>
          
                {% block content %}
                {% endblock %}

 
        </div>
    </div>


{% endblock %}
